package cn.edu.scau.cmi.huangzhiyuan.abstractFactory.factory;

import cn.edu.scau.cmi.huangzhiyuan.abstractFactory.domain.PICCBodyInsurance;
import cn.edu.scau.cmi.huangzhiyuan.abstractFactory.domain.PICCCarInsurance;
import cn.edu.scau.cmi.huangzhiyuan.abstractFactory.domain.PICCOtherInsurance;
import cn.edu.scau.cmi.huangzhiyuan.abstractFactory.domain.PICCPersonInsurance;
import cn.edu.scau.cmi.huangzhiyuan.abstractFactory.domainAbstractClass.Insurance;

public class PICCFactory extends AbstractFactory{
	@Override
	public Insurance BodyInsurance() {
		return new PICCBodyInsurance();
	}

	@Override
	public Insurance PersonInsurance() {
		return new PICCPersonInsurance();
	}

	@Override
	public Insurance CarInsurance() {
		return new PICCCarInsurance();
	}

	@Override
	public Insurance OtherInsurance() {
		return new PICCOtherInsurance();
	}
}
